package com.ev.mes.dao;

import com.ev.mes.domain.SeOutStockDO;
import com.ev.mes.domain.SeOutStockDetailDO;
import com.ev.mes.vo.SeOutStockParam;
import com.ev.mes.vo.SeOutStockVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 姚家乐
 * @since 2021/7/19 17:01
 */
@Mapper
public interface SeOutStockDao {

    List<SeOutStockDO> selectAll();

    Integer batchSave(List<SeOutStockDO> list);

    Integer batchUpdate(List<SeOutStockDO> list);

    Integer batchRemove(Long[] ids);

    Integer batchSaveDetail(List<SeOutStockDetailDO> list);

    Integer batchUpdateDetail(List<SeOutStockDetailDO> list);

    Integer batchRemoveDetail(Long[] ids);

    Integer batchUpdateToDelFlagByMainId(List<Long> bomIds);

    List<SeOutStockDetailDO> selectDetailAll();

    List<SeOutStockVO> list(SeOutStockParam param);

    Integer count(SeOutStockParam param);

}
